@import "@/style/scss/index.scss";

.home-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  .item-box {
    display: flex;
    width: 1240px;
    height: 780px;
    margin: auto;
    position: absolute;
    top: 199px;
    bottom: auto;
    left: 339px;
    right: auto;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: space-between;
    .item-grid {
      width: 580px;
      height: 350px;
      background: #99C8FF;
      border-radius: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      transition: all .2s;
      pointer-events: none;
      img {
        width: 270px;
        height: 220px;
        margin: 54px auto auto;
        object-fit: contain;
      }
      .item-content {
        display: flex;
        margin: 19px auto 32px auto;
        .item-state {
          margin: auto;
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: #FFC74A;
          &.active {
            background: #4AFF9F;
          }
        }
        .item-name {
          margin-left: 7px;
          font-size: 24px;
          font-weight: 400;
          color: #FFFFFF;
        }
      }
      &:hover {
        box-shadow: 0px 45px 158px 8px rgba(39, 113, 195, 0.52);
        border-radius: 20px;
        transform: scale(1.07);
        cursor: pointer;
      }
      &.active {
        background: linear-gradient(135deg, #2F99F2 0%, #308BEF 100%);
        pointer-events: unset;
      }
    }
  }
}
